package com.exam.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * questions
 * @author 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Questions implements Serializable {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 试卷ID
     */
    private Integer paperId;

    /**
     * 标题名
     */
    private String titleName;

    /**
     * 试题ID
     */
    private Integer questionId;

    private static final long serialVersionUID = 1L;
}